package com.managertrade.dto.vo;

import lombok.Data;
import java.util.List;

@Data
public class OkxLeadTraderResponseVO {
    private String code;
    private String msg;
    private List<DataItem> data;

    @Data
    public static class DataItem {
        private String dataVer;
        private String totalPage;
        private List<Trader> ranks;
    }

    @Data
    public static class Trader {
        private String accCopyTraderNum;
        private String aum;
        private String ccy;
        private String copyState;
        private String copyTraderNum;
        private String leadDays;
        private String maxCopyTraderNum;
        private String nickName;
        private String pnl;
        private String pnlRatio;
        private List<PnlRatioItem> pnlRatios;
        private String portLink;
        private List<String> traderInsts;
        private String uniqueCode;
        private String winRatio;
        //最新开仓时间
        private Long update_opentime;
        //方向
        private String update_side;
        //交易产品
        private String update_instId;
        //杠杆倍数
        private String update_lever;
        //最新未实现收益
        private String update_upl;
    }

    @Data
    public static class PnlRatioItem {
        private String beginTs;
        private String pnlRatio;
    }
}

